package com.yb0os1.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Schema(description = "分类实体类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Category {
    @Schema(name = "主键ID")
    private Long id;
    @Schema(name = "分类类型：1为菜品分类，2为套餐分类")
    private Integer type;
    @Schema(name = "分类名称")
    private String name;
    @Schema(name = "分类")
    private Integer sort;
    @Schema(name = "状态")
    private Integer status;
    @Schema(description = "入职时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "创建人ID")
    private Long createUser;
    @Schema(description = "更新人ID")
    private Long updateUser;
}
